# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the version of Python and other tools you might need
build:
  os: ubuntu-22.04
  tools:
    python: "3"
  jobs:
    # Workaround: See PR #1554 for details.
    # When migrating to use a pyprojects.toml file switch from this
    # workaround to the use of "python: install: extra_requirements..."
    # See also: https://docs.readthedocs.io/en/stable/config-file/v2.html#packages
    post_create_environment:
      - python -m pip install sphinx_rtd_theme
# Build documentation in the docs/ directory with Sphinx
sphinx:
  configuration: common/doc-dev/conf.py
  # fail_on_warning: true

# We recommend specifying your dependencies to enable reproducible builds:
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
# python:
#  install:
#  - method: pip
#    path: .
#    extra_requirements:
#    - foo
